package com.cheng.example.java.basics.extend;

import java.util.HashMap;

public class Son extends Father {


    public void func(HashMap m){//方法的形参比父类的更宽松
        System.out.println("执行子类...");
    }


    static HashMap eat(){
        System.out.println("儿子吃");
        return null;
    }
}